package com.craftcomputing.client.Entry;

import com.google.gwt.json.client.JSONValue;

public class ThemeEntry extends EntryPanel {

	public ThemeEntry() {
		panel.add(themeEntryPanel);
	}
	public void setPanelStyle(String style){
		panel.setStyleName(style);
	}
	public void updateEntry(JSONValue json){
		themeEntryPanel.update(json);
		entryLabel.setHTML("<b>" + themeEntryPanel.getTitle() + "</b>");
	}
	public String searchText() {
		return "/python/themes?search=";
	}
	private ThemeEntryPanel themeEntryPanel = new ThemeEntryPanel();
}
